
@class Chapter;

////////////////////////////////////////////////////
@interface ChapterViewController : UITableViewController<UINavigationControllerDelegate, 
                                                         UIImagePickerControllerDelegate, 
                                                         UITextFieldDelegate> {
  /**
   * private instance variables
   */
    @private
      /**
       * Data
       *
       * Chapter class is empty only declares getters/setters 
       * for chapter properties.
       */
        Chapter *m_Chapter;
        NSMutableArray *m_ChapterContents;
        
	   /**
	    * View Control. These instance variable pointing to
	    * objects in the nib file (DetailHeaderView.xib).
       * In the Detail Header View nib file:
       *    1) 3 Text fields
       *    2) 1 Button
       *    3) 1 Label (no IBOutlet ref)
	    */
        UIView *m_TableHeaderView;    
        UIButton *m_PhotoButton;
        UITextField *m_NameTextField;
        UITextField *m_OverviewTextField;
        UITextField *m_PrepTimeTextField;
}
            
/////////////////////////////////////////
//  Getter/Setters
/////////////////////////////////////////
@property (nonatomic, retain) Chapter *chapter;
@property (nonatomic, retain) NSMutableArray *chapterContents;

@property (nonatomic, retain) IBOutlet UIView *tableHeaderView;
@property (nonatomic, retain) IBOutlet UIButton *photoButton;
@property (nonatomic, retain) IBOutlet UITextField *nameTextField;
@property (nonatomic, retain) IBOutlet UITextField *overviewTextField;
@property (nonatomic, retain) IBOutlet UITextField *prepTimeTextField;


/////////////////////////////////////////
//  Instance Methods
/////////////////////////////////////////
- (IBAction)photoTapped;

@end
